﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/HRManagerUI/HrManager.Master"
    AutoEventWireup="true" CodeBehind="ChangeStatus.aspx.cs" Inherits="HRM.UI.HRManagerUI.EmpModule.ChangeStatus" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
    <link href="../../../Styles/Employee/ChangeStatuscss.css" rel="stylesheet" type="text/css" />
    <fieldset>
        <legend>Change Employee Present Status</legend>
        <div align="center">
            <asp:Label runat="server" ID="lblStatusMsg"></asp:Label></div><br/><br/>
        <div align="center" style="width: 50%; margin-left: 25%">
            Employee Code&nbsp;&nbsp;<input type="text" runat="server" id="txtEmpCode" class="textboxinput" />
            <input type="submit" runat="server" id="btnSearchEmp" value="Find Employee" onserverclick="FindEmployee"
                class="btnCss" />
            <br />
            <br />
        </div>
        <div align="center" style="width: 60%; margin-left: 20%" id="EmpinfoTb" runat="server">
            <table class="infoTb" style="border: thin solid rgb(111, 111, 111);" width="100%">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Image ID="empImage" runat="server" CssClass="empImage" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="incrementTitle">
                        Employee Status&nbsp;<asp:Label runat="server" ID="lblEmpStatus" BorderStyle="Double"
                            Font-Bold="True" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="lebelTD">
                        Employee's Name :
                    </td>
                    <td class="lebellTD">
                        <asp:Label runat="server" ID="lblempName"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="lebelTD">
                        Designation :
                    </td>
                    <td class="lebellTD">
                        <asp:Label runat="server" ID="lblDesignation"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="lebelTD">
                        Project :
                    </td>
                    <td class="lebellTD">
                        <asp:Label runat="server" ID="lblProject"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="lebelTD">
                        Joining Date :
                    </td>
                    <td class="lebellTD">
                        <asp:Label runat="server" ID="lblJoiningDate"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="lebelTD">
                        Birth Date :
                    </td>
                    <td class="lebellTD">
                        <asp:Label runat="server" ID="lblBirth"></asp:Label>
                    </td>
                </tr>
            </table>
            <hr />
        </div>
        <fieldset>
            <legend>Change Employee Present Status</legend>
        <table style="width: 50%;margin-left: 25%;" runat="server" id="changestatusTb">
            <tr>
                <td colspan="2" align="center">
                    <asp:Label runat="server" ID="statusMsg"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="lebelTD">
                    Select New Status
                </td>
                <td>
                    <select id="ddlStatus" runat="server" class="dropdownCss">
                        <option>--Choose Any--</option>
                        <option>Active</option>
                        <option>In Active</option>
                        <option>Retire</option>
                        <option>OSD</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input type="submit" id="btnChangeStatus" value="Change Status" runat="server" onserverclick="ChangeEmpStatus"
                        class="btnCss" />
                </td>
            </tr>
        </table>
        </fieldset>
    </fieldset>
</asp:Content>
